#include <frqtpat.hpp>
Public Member Functions | |
FrqtpatParser () | |
virtual | ~FrqtpatParser () |
void | extract (_data_struct &data_struct, gridpack::component::DataCollection *data) |
void | parse (std::vector< std::string > &split_line, gridpack::component::DataCollection *data) |
void | store (std::vector< std::string > &split_line, _data_struct &data) |
gridpack::parser::FrqtpatParser< _data_struct >::FrqtpatParser | ( | ) | [explicit] |
Constructor
virtual gridpack::parser::FrqtpatParser< _data_struct >::~FrqtpatParser | ( | ) | [virtual] |
Destructor
void gridpack::parser::FrqtpatParser< _data_struct >::extract | ( | _data_struct & | data_struct, | |
gridpack::component::DataCollection * | data | |||
) |
Extract data from _data_struct and store it in data collection object
data_struct | data struct object | |
data | data collection object | |
gen_id | index of generator |
References gridpack::component::DataCollection::addValue(), gridpack::component::DataCollection::getValue(), RELAY_FL, RELAY_FREBUS, RELAY_FU, RELAY_GENID, RELAY_MINS, RELAY_MODEL, RELAY_NUMBER, RELAY_TB, RELAY_TP, and gridpack::component::DataCollection::setValue().
void gridpack::parser::FrqtpatParser< _data_struct >::parse | ( | std::vector< std::string > & | split_line, | |
gridpack::component::DataCollection * | data | |||
) |
Parser list of strings and store results in data collection object
split_line | list of tokens from .dyr file | |
data | data collection object | |
model | name of generator model | |
gen_id | index of generator |
References gridpack::component::DataCollection::addValue(), gridpack::utility::StringUtils::clean2Char(), gridpack::component::DataCollection::getValue(), RELAY_FL, RELAY_FREBUS, RELAY_FU, RELAY_GENID, RELAY_MINS, RELAY_MODEL, RELAY_NUMBER, RELAY_TB, RELAY_TP, gridpack::component::DataCollection::setValue(), gridpack::utility::StringUtils::toUpper(), and gridpack::utility::StringUtils::trimQuotes().
void gridpack::parser::FrqtpatParser< _data_struct >::store | ( | std::vector< std::string > & | split_line, | |
_data_struct & | data | |||
) |
Parse list of strings store results in data_struct object
split_line | list of tokens from .dyr file | |
data | data struct that stores information from file |
References gridpack::utility::StringUtils::clean2Char(), gridpack::utility::StringUtils::toUpper(), and gridpack::utility::StringUtils::trimQuotes().